package test

import org.gradle.api.Plugin
import org.gradle.api.Project

class MyPlugin implements Plugin<Project> {

    @Override
    void apply(Project project) {
        def transTest = new MyClassTransform()
        def android = project.extensions.getByName("android")
        android.registerTransform(transTest)

        System.out.println("==================   " + project.toString() + "   ==================")

    }
}